package com.pp.tourism.web.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.pp.tourism.web.vo.UserCommentVO;
import com.pp.tourism.web.mapper.UserCommentTopMapper;
import com.pp.tourism.web.pojo.UserCommentTop;
import com.pp.tourism.web.service.UserCommentTopService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户景点点评表 服务实现类
 * </p>
 *
 * @author wjm
 * @since 2019-03-20
 */
@Service
public class UserCommentTopServiceImpl extends ServiceImpl<UserCommentTopMapper, UserCommentTop> implements UserCommentTopService {

    @Override
    public List<UserCommentVO> queryComments(Integer scenicId) {
        return baseMapper.queryComments(scenicId);
    }

}
